const express = require('express')
const app = express()

// 配置express-session中间件
const session = require('express-session')
app.use(session({
    secret: 'lishumin',
    resave: false,
    saveUninitialized: false
}))



app.get('/', (req, res) => {
    res.send('express')
    // req.session.user
})
app.listen(70, () => {
    console.log('http://127.0.0.1:70');
})